package com.cls.business.mapper;

import com.cls.business.entity.MemberInfoRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 委托课题审核成员变动记录信息表 Mapper
 *
 * @author slx
 * @date 2020-12-02 14:27:30
 */
@Repository
public interface MemberInfoRecordMapper extends BaseMapper<MemberInfoRecord> {

    @Select("select * from biz_member_info_record where is_delete = true and declare_id = #{declareId}")
    List<MemberInfoRecord> findLogByDeclareId(@Param("declareId") Long declareId);
}
